2000W / 48V LLC Battery-Charger  V1.00
system_XMC1400.c File Reference
#include <XMC1400.h>
#include "system_XMC1400.h"
Include dependency graph for system_XMC1400.c:

Go to the source code of this file.

Macros

#define DCO1_FREQUENCY   (48000000U)
 
#define OSCHP_FREQUENCY   (20000000U)
 
#define DCLK_CLOCK_SRC   0
 
#define DCLK_CLOCK_SRC_DCO1   0
 
#define DCLK_CLOCK_SRC_EXT_XTAL   1
 
#define OSCHP_MODE   0
 
#define OSCHP_MODE_XTAL   0
 
#define OSCHP_MODE_DIRECT   1
 
#define RTC_CLOCK_SRC   0
 
#define RTC_CLOCK_SRC_DCO2   0
 
#define RTC_CLOCK_SRC_EXT_XTAL   5
 
#define PCLK_CLOCK_SRC   1
 
#define PCLK_CLOCK_SRC_MCLK   0
 
#define PCLK_CLOCK_SRC_2XMCLK   1
 

Functions

__WEAK void SystemInit (void)
 
__WEAK void SystemCoreSetup (void)
 
__WEAK void SystemCoreClockSetup (void)
 
__WEAK void SystemCoreClockUpdate (void)
 
__WEAK uint32_t OSCHP_GetFrequency (void)
 

Macro Definition Documentation

◆ DCLK_CLOCK_SRC

#define DCLK_CLOCK_SRC   0

Definition at line 83 of file system_XMC1400.c.

◆ DCLK_CLOCK_SRC_DCO1

#define DCLK_CLOCK_SRC_DCO1   0

Definition at line 84 of file system_XMC1400.c.

◆ DCLK_CLOCK_SRC_EXT_XTAL

#define DCLK_CLOCK_SRC_EXT_XTAL   1

Definition at line 85 of file system_XMC1400.c.

◆ DCO1_FREQUENCY

#define DCO1_FREQUENCY   (48000000U)

Definition at line 56 of file system_XMC1400.c.

Referenced by SystemCoreClockUpdate().

◆ OSCHP_FREQUENCY

#define OSCHP_FREQUENCY   (20000000U)

Definition at line 75 of file system_XMC1400.c.

Referenced by OSCHP_GetFrequency().

◆ OSCHP_MODE

#define OSCHP_MODE   0

Definition at line 93 of file system_XMC1400.c.

Referenced by SystemCoreClockSetup().

◆ OSCHP_MODE_DIRECT

#define OSCHP_MODE_DIRECT   1

Definition at line 95 of file system_XMC1400.c.

◆ OSCHP_MODE_XTAL

#define OSCHP_MODE_XTAL   0

Definition at line 94 of file system_XMC1400.c.

◆ PCLK_CLOCK_SRC

#define PCLK_CLOCK_SRC   1

Definition at line 112 of file system_XMC1400.c.

Referenced by SystemCoreClockSetup().

◆ PCLK_CLOCK_SRC_2XMCLK

#define PCLK_CLOCK_SRC_2XMCLK   1

Definition at line 114 of file system_XMC1400.c.

◆ PCLK_CLOCK_SRC_MCLK

#define PCLK_CLOCK_SRC_MCLK   0

Definition at line 113 of file system_XMC1400.c.

◆ RTC_CLOCK_SRC

#define RTC_CLOCK_SRC   0

Definition at line 103 of file system_XMC1400.c.

Referenced by SystemCoreClockSetup().

◆ RTC_CLOCK_SRC_DCO2

#define RTC_CLOCK_SRC_DCO2   0

Definition at line 104 of file system_XMC1400.c.

◆ RTC_CLOCK_SRC_EXT_XTAL

#define RTC_CLOCK_SRC_EXT_XTAL   5

Definition at line 105 of file system_XMC1400.c.

Function Documentation

◆ OSCHP_GetFrequency()

__WEAK uint32_t OSCHP_GetFrequency ( void  )

Definition at line 263 of file system_XMC1400.c.

Referenced by SystemCoreClockSetup(), and SystemCoreClockUpdate().

Here is the caller graph for this function:

◆ SystemCoreClockSetup()

__WEAK void SystemCoreClockSetup ( void  )

Definition at line 166 of file system_XMC1400.c.

Referenced by SystemInit().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SystemCoreClockUpdate()

__WEAK void SystemCoreClockUpdate ( void  )

Definition at line 228 of file system_XMC1400.c.

Referenced by SystemCoreClockSetup().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SystemCoreSetup()

__WEAK void SystemCoreSetup ( void  )

Definition at line 160 of file system_XMC1400.c.

Referenced by SystemInit().

Here is the caller graph for this function:

◆ SystemInit()

__WEAK void SystemInit ( void  )

Definition at line 154 of file system_XMC1400.c.

Here is the call graph for this function: